<?php
/**
 * Created by PhpStorm.
 * Script Name: Handler.php
 * Create: 11/1/22 11:00 PM
 * Description:
 * Author: fudaoji<fdj@kuryun.cn>
 */

namespace app\common\coroutine;


abstract class Handler
{

    abstract function onReceive($server, $fd, $from_id, $data);

    abstract function onTask($server, $task_id, $reactor_id, $data);

    abstract function onFinish($server, $task_id, $data);
}